#ifndef BENCHMARK_UTIL_H
#define BENCHMARK_UTIL_H
#include "test_data.h"
#include <vector>
using namespace std;

void SplitString(const string& s, vector<string>& v, const string& c);
void str2int(int &int_temp,const string &string_temp);
void str2float(float &float_temp, const string &string_temp);
void parse_supplier_file(vector<Supplier> &supps);
void parse_customer_file(vector<Customer> &custs, string file_path);
void parse_customer_file(vector<Customer> &custs, vector<vector<string>> &datas, string file_path);
void parse_nation_file(vector<Nation> &nations, vector<vector<string>> &datas, string file_path);
void parse_region_file(vector<Region> &region, vector<vector<string>> &datas, string file_path);
#endif // BENCHMARK_UTIL_H
